import './localhost.scss'
import { ProjectList } from '../../Config/typelist'

const Localhost = () => {
    return (
        <div className="Localhost" >
            {ProjectList.map(({ label, value }, index) =>
                <div
                    key={index}
                    className='container'
                    onClick={() => (window.location.href = `http://${value}:${window.location.port}`)}
                >
                    <div className='btn'>{label}</div>
                </div>
            )}
        </div>
    );
};

export default Localhost;